/*
 * Copyright 2000-2014 JetBrains s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/**
 * @param {string} $selector
 * @param {integer} $cols-span
 * @param {px} $spacing (optional)
 * @param {px} $grid-width (optional)
 * @param {integer} $cols-count (optional)
 * @param {boolean} $is-fluid (optional)
*/
/**
 * @param {integer} $grid-spacing (optional)
 */
/**
 *
 * @param {integer} $span
 * @param {px} $spacing (optional)
 * @param {px} $grid-width (optional)
 * @param {integer} $cols-count (optional)
 * @param {boolean} $grid-is-fluid (optional)
*/
/**
 * Grid column
 * @param {px} $font-size (optional)
*/
.global-nav {
    position: relative;
    float: right;
    font-size: 0;
    margin-top: 2px; }
.global-nav:after {
    display: block;
    clear: both;
    height: 0;
    content: ''; }
.global-nav .nav-item {
    display: inline-block;
    margin-right: 32px;
    color: #d1d1d1;
    font-size: 14px;
    font-weight: 300;
    line-height: 43px;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase; }
.global-nav .nav-item:hover {
    color: #fff; }
.global-nav .nav-item.is_active {
    color: #7d838b; }
.global-nav .extra-nav {
    display: inline-block;
    top: 0;
    left: 0;
    font-size: 14px;
    white-space: nowrap; }
@media (max-width: 1205px) {
    .global-nav .extra-nav {
        left: auto;
        right: 0;
        top: 38px; } }
.global-nav .extra-nav.social-links {
    position: relative;
    line-height: 31px; }
@media (max-width: 1205px) {
    .global-nav .extra-nav.social-links {
        top: auto; } }
.global-nav .extra-nav.download-button {
    line-height: 36px; }
.global-nav .extra-nav .link {
    position: relative;
    display: inline-block;
    margin-right: 4px;
    padding: 4px;
    font-size: 0;
    line-height: 0;
    text-decoration: none;
    vertical-align: top; }
.global-nav .extra-nav .link:last-child {
    margin-right: 0; }
.global-nav .extra-nav .link-twitter {
    top: 2px; }
.global-nav .extra-nav .link-forum {
    top: 3px; }
.global-nav .extra-nav .link-icon {
    display: inline-block;
    opacity: 0.8;
    background: url("../layout/images/main-sprite.png") no-repeat 0 0; }
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .global-nav .extra-nav .link-icon {
        background-image: url("../layout/images/main-sprite@2x.png");
        background-size: 150px auto; } }
.global-nav .extra-nav .link:hover .link-icon {
    opacity: 1; }
.global-nav .extra-nav .icon-github {
    width: 20px;
    height: 20px;
    background-position: -100px 0; }
.global-nav .extra-nav .icon-twitter {
    width: 20px;
    height: 17px;
    background-position: -100px -50px; }
.global-nav .extra-nav .icon-forum {
    width: 26px;
    height: 17px;
    background-position: -100px -400px; }

.page_index .global-nav {
    margin-top: 0; }

/**
 * @param {string} $selector
 * @param {integer} $cols-span
 * @param {px} $spacing (optional)
 * @param {px} $grid-width (optional)
 * @param {integer} $cols-count (optional)
 * @param {boolean} $is-fluid (optional)
*/
/**
 * @param {integer} $grid-spacing (optional)
 */
/**
 *
 * @param {integer} $span
 * @param {px} $spacing (optional)
 * @param {px} $grid-width (optional)
 * @param {integer} $cols-count (optional)
 * @param {boolean} $grid-is-fluid (optional)
*/
/**
 * Grid column
 * @param {px} $font-size (optional)
*/
.docs-nav {
    margin-bottom: 48px;
    list-style-type: none;
    font-size: 0; }
.docs-nav .nav-item-wrap {
    display: inline-block;
    box-sizing: border-box;
    width: 20%;
    padding: 0 20px 0 0;
    vertical-align: top; }
.docs-nav .nav-item-wrap:last-child {
    padding-right: 0; }
.os_linux.ua_chrome .docs-nav .nav-item-wrap {
    width: 19.9%; }
.docs-nav .nav-item {
    background-image: -moz-linear-gradient(#fafafa, #e4e4e4);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fafafa), to(#e4e4e4));
    background-image: -webkit-linear-gradient(#fafafa, #e4e4e4);
    background-image: -o-linear-gradient(#fafafa, #e4e4e4);
    display: block;
    box-sizing: border-box;
    margin-left: 0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    background-color: #e1e1e1;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    color: #000;
    line-height: 50px; }
@media (max-width: 750px) {
    .docs-nav .nav-item {
        line-height: 35px; } }
.docs-nav .nav-item:hover, .docs-nav .nav-item.is_active {
    background-image: none;
    background-color: #f9f9f9; }
.docs-nav .nav-item-text {
    position: relative;
    display: block;
    border: 2px solid transparent;
    border-radius: 4px;
    color: #3164a0;
    font-size: 16px;
    text-decoration: none; }
@media (max-width: 750px) {
    .docs-nav .nav-item-text {
        font-size: 14px; } }
.docs-nav .nav-item-text:before, .docs-nav .nav-item-text:after {
    position: absolute;
    display: none;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    margin-left: -15px;
    border-style: solid;
    border-width: 19px 15px 0 15px;
    border-color: transparent;
    content: ''; }
.docs-nav .nav-item-text:before {
    border-top-color: #6995d6; }
.docs-nav .nav-item-text:after {
    margin-top: -3px;
    border-top-color: #f9f9f9; }
.docs-nav .nav-item:hover .nav-item-text,
.docs-nav .nav-item.is_active .nav-item-text {
    border-color: #6995d6;
    text-decoration: none; }
.docs-nav .nav-item:active .nav-item-text {
    border-color: #6995d6;
    text-decoration: none;
    box-shadow: inset 0px 2px 6px 1px rgba(0, 0, 0, 0.2); }
.docs-nav .nav-item.is_active .nav-item-text {
    box-shadow: inset 0px 2px 6px 1px rgba(0, 0, 0, 0.2);
    color: #333333; }
.docs-nav .nav-item.is_active .nav-item-text:before, .docs-nav .nav-item.is_active .nav-item-text:after {
    display: block; }

/**
 * @param {string} $selector
 * @param {integer} $cols-span
 * @param {px} $spacing (optional)
 * @param {px} $grid-width (optional)
 * @param {integer} $cols-count (optional)
 * @param {boolean} $is-fluid (optional)
*/
/**
 * @param {integer} $grid-spacing (optional)
 */
/**
 *
 * @param {integer} $span
 * @param {px} $spacing (optional)
 * @param {px} $grid-width (optional)
 * @param {integer} $cols-count (optional)
 * @param {boolean} $grid-is-fluid (optional)
*/
/**
 * Grid column
 * @param {px} $font-size (optional)
*/
.tree-item {
    display: block; }

.tree-branch._opened .tree-item {
    display: block; }

.tree-branch._closed .tree-item {
    display: none; }

.tree-branch {
    margin-bottom: -1px;
    padding-left: 12px;
    padding-right: 12px;
    border-style: solid;
    border-color: #EFEFEF;
    border-width: 1px 0; }

.tree-branch._opened {
    background-color: #F9F9F9; }

.tree-branch .tree-branch {
    margin-left: -12px;
    margin-right: -12px;
    padding-right: 24px;
    padding-left: 24px;
    border-color: transparent; }

.tree-branch .tree-branch._opened {
    background-color: #F2F2F2;
    border-color: #DADADA; }

.tree-item-title {
    display: inline-block; }

.tree-item-title .text {
    display: inline-block; }

.tree-item-title .marker {
    display: inline; }

.tree-branch-title {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: block;
    position: relative;
    cursor: pointer;
    margin-left: -12px;
    margin-right: -12px;
    padding-right: 12px;
    padding-left: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
    color: #497bb7; }
.tree-branch-title:hover {
    background-color: #F2F2F2;
    text-decoration: underline; }
.tree-branch-title .marker {
    position: absolute;
    display: inline-block;
    margin-left: -10px;
    margin-top: 5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 5px;
    border-color: transparent transparent transparent #497bb7; }

.tree-branch-title.is_active {
    background-color: #F2F2F2;
    color: #333333;
    text-decoration: none; }
.tree-branch-title.is_active:hover {
    background-color: #ebebeb; }
.tree-branch-title.is_active .marker {
    margin-left: -12px;
    border-width: 0 0 6px 6px;
    border-color: transparent transparent #333333 transparent; }

.tree-branch .tree-branch .tree-branch-title {
    margin-left: -24px;
    margin-right: -24px;
    padding-right: 24px;
    padding-left: 24px; }

.tree-leaf {
    margin-top: 10px;
    margin-bottom: 10px; }

.tree-branch .tree-leaf {
    margin-left: -12px;
    margin-right: -12px;
    padding-right: 24px;
    padding-left: 24px; }

.tree-leaf-title {
    margin-left: -12px;
    margin-right: -12px;
    padding-right: 12px;
    padding-left: 12px; }
.tree-leaf-title .text {
    position: relative; }
.tree-leaf-title .text::before {
    position: absolute;
    color: #999;
    top: -1px;
    left: -14px;
    content: '\2013'; }

.tree-leaf-title.is_active {
    font-weight: bold;
    color: #333333; }